using System;
using System.Collections.Generic;
using System.Text;

namespace SUnit.Core
{
	public class SUnitFailureException : Exception
    {
        private CValue _expected;
        private CValue _obtained;

        public CValue ExpectedValue
        {
            get { return _expected; }
        }

        public CValue ObtainedValue
        {
            get { return _obtained; }
        }

        public SUnitFailureException(CValue a, CValue b)
            : base(a.ToString() + " distinto de " + b.ToString())
        {
            _expected = a;
            _obtained = b;
        }
    }
}
